package 行为型设计模式.模板方法模式.demo;

/**
 * @Author lf
 * @Date 3/18/2024
 */
public class TemplateMethodDemo {
    public static void main(String[] args) {
        BeverageMaker teaMaker = new TeaMaker();
        teaMaker.prepareBeverage();

        System.out.println();

        BeverageMaker coffeeMaker = new CoffeeMaker();
        coffeeMaker.prepareBeverage();
    }
}
